import request from '@/utils/request'
// 获取订单分页数据
export function getOrderpag(data) {
  return request({
    url: '/order-manager/order/page',
    method: 'post',
    data
  })
}
// 获取运单分页数据
export function getManapag(obj) {
  return request({
    url: '/transport-order-manager/page',
    method: 'post',
    data: {
      page: obj.page,
      pageSize: obj.pageSize
    }})
}
// 获取订单详情

export function getOrderDetaill(id) {
  return request({
    url: `/order-manager/order/${id}`
  })
}
// 获取城市列表
export function getCityList(params) {
  return request({
    url: `/areas/children`,
    params
  })
}

